package com.it985.springcloud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.it985.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * TODO:
 *
 * @Author yushu
 * @Date 2022/3/20 20:21
 */
@Mapper
public interface PaymentMapper extends BaseMapper<Payment> {
    public int create(Payment payment);

    public Payment getPaymentById(@Param("id") Long id);
}
